package com.lagou.seckill.util;

import org.springframework.web.context.request.RequestContextHolder;

public final class ContextUtil {


    public static String getUserId() {
        return RequestContextHolder.currentRequestAttributes().getSessionId();
    }

}
